package com.bobo.mall.product.dao;

import com.bobo.mall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author xulinbo
 * @email xulinbo@gmail.com
 * @date 2020-11-20 17:02:05
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    /**
     * 修改上架状态
     * @param spuId
     * @param code
     */
    void updatePubStatus(@Param("spuId") Long spuId, @Param("code") int code);
}
